﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PersonEmpCertPrintAdd.aspx.cs"
    Inherits="RN.ERP.Web.Person.PersonEmpCertPrintAdd" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="../Styles/skins/blue/css/style.css" rel="stylesheet" type="text/css" />
    <link href="../Styles/skins/blue/css/style_msg.css" rel="stylesheet" type="text/css" />
    <link rel="Stylesheet" type="text/css" href="../Scripts/ligerUI/skins/Aqua/css/ligerui-all.css" />
    <script src="../Scripts/jquery.min.js" type="text/javascript"></script>
    <script type="text/javascript" src="../Scripts/iepngfix_tilebg.js"></script>
    <script src="../My97DatePicker/WdatePicker.js" type="text/javascript"></script>
    <script type="text/javascript" src="../Scripts/ligerUI/js/ligerui.min.js"></script>
</head>
<body>
    <form id="form1" runat="server">
    <input id="hdEmpGuid" type="hidden" runat="server" value="" />
    <input id="hdTypeFlag" type="hidden" runat="server" value="" />
    <input id="hdcertCode" type="hidden" runat="server" value="" />
    <table width="770" border="0" cellspacing="0" cellpadding="0" align="center">
        <tr>
            <td width="16" class="title_lbg IE6png">
            </td>
            <td width="24" class="title_t IE6png">
            </td>
            <td width="713" class="title_libg IE6png">
                信息打印
            </td>
            <td width="17" class="title_rbg IE6png">
            </td>
        </tr>
        <tr>
            <td class="border_lbg IE6png">
                &nbsp;
            </td>
            <td colspan="2">
                <div id="con">
                    <ul id="tags">
                        <li class="selectTag"><a href="#">信息打印</a> </li>
                    </ul>
                    <div id="tagContent">
                        <div class="tagContent selectTag">
                            <table width="99%" border="0"  cellspacing="3" cellpadding="3"  style="background-color: #eaeaea;" class="xx_tab">
                                <tr>
                                    <td width="90" align="right">
                                        执业编号
                                    </td>
                                    <td  width="190">
                                      <input id="txtCodePrefix"  runat="server" type="text"   style="width: 50px;" value="QDJL-"  maxlength="10"/>
                                       <input id="txtCode"  runat="server" type="text" style="width: 120px;" maxlength="10"/>
                                    </td>
                                  <td align="right" width="90">
                                        发证日期
                                    </td>
                                    <td>
                                        <input id="txtBeginDate" name="" type="text" value="" style="width: 120px;" onclick="WdatePicker({skin:'blue'})"
                                                    maxlength="10" runat="server"/>
                                    </td>
                                </tr>
                                  <tr>
                                     <td align="right" width="90">
                                        申报证件
                                    </td>
                                    <td colspan="3">
                                        <asp:DropDownList ID="DropEmpCert" runat="server" Width="300px">
                                        </asp:DropDownList>
                                       
                                    </td> 
                                   
                                    
                                </tr>
                            </table>
                            
                            <table height="80" border="0" align="center" cellpadding="0" cellspacing="0" class="xx_tab">
                                <tr>
                                    <td width="144" height="80">
                                        <div class="icon01 IE6png">
                                            <asp:LinkButton ID="btnSave" runat="server" OnClick="btnSave_Click" OnClientClick="return CheckData();">确定</asp:LinkButton>
                                            <%-- <a id="btnSave" parentdiv="workexperience" href="PersonEmpCertPrint.aspx">确定</a>--%>
                                        </div>
                                    </td>
                                    <td width="11" height="80">
                                        &nbsp;
                                    </td>
                                    <td width="144" height="80">
                                        <div class="icon02 IE6png">
                                            <a id="btnCancel" href="javascript:void(0);">关闭</a>
                                        </div>
                                    </td>
                                </tr>
                            </table>
                        </div>
                    </div>
                </div>
            </td>
            <td class="border_rbg IE6png">
                &nbsp;
            </td>
        </tr>
        <tr>
            <td class="border_lconer IE6png" headers="17">
                &nbsp;
            </td>
            <td colspan="2" class="border_bottomli IE6png" height="17">
                &nbsp;
            </td>
            <td class="border_rconer IE6png" headers="17">
                &nbsp;
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
<script type="text/javascript">

    function CheckData() {
        if ($.trim($("#<%=txtCode.ClientID %>").val()) == "" || $.trim($("#<%=txtCodePrefix.ClientID %>").val())=="") {
            OpenAlert("请添加执业编号！");
            return false;
        }
        if ($.trim($("#<%=txtBeginDate.ClientID %>").val()) == "") {
            OpenAlert("请添加发证日期！");
            return false;
        }
    }
    /*弹出提示*/
    function OpenAlert(text) {
        $.ligerDialog.warn(text);
        return false;
    }
</script>
